home *** CD-ROM | disk | FTP | other *** search
/ PC Media 7 / PC MEDIA CD07.iso / share / prog / tidy642 / convert.cms < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.6 KB  |  43 lines

  1.  
  2.                               IBM CMS Conversion Notes
  3.  
  4.          1.  In the main program (TIDY), delete the call to subroutine
  5.              PCTIDY.  Subroutines PCTIDY, OPFIL, and DOSDEV can be deleted.
  6.  
  7.          2.  In the main program (TIDY), change the value to which KTAB
  8.              is set from 9 to 5 so that it is correct for EBCDIC.
  9.  
  10.          3.  The INCLUDE files must be stored in a MACLIB for the FORTVS
  11.              compiler to process them.  I suggest making the MS-DOS file
  12.              TIDY.INC into the member COMMON in a MACLIB, and UNITS.INC
  13.              into the member UNITS.  Assuming that TIDY.INC was uploaded
  14.              as TIDY INC A, and UNITS.INC as UNITS INC A, these CMS
  15.              commands will generate a MACLIB named TIDY with these members:
  16.  
  17.              RENAME TIDY INC A COMMON COPY A
  18.              RENAME UNITS INC A UNITS COPY A
  19.              MACLIB GEN TIDY COMMON UNITS
  20.  
  21.          4.  The form of INCLUDE directives under VS-FORTRAN is different
  22.              from IBM Professional Fortran, so they must be edited.  Using
  23.              XEDIT, change then:
  24.  
  25.              C/'TIDY.INC'/(COMMON)/ * *
  26.              C/'UNITS.INC'/(UNITS)/ * *
  27.  
  28.          5.  Compile TIDY:
  29.  
  30.              FILEDEF SYSLIB DISK TIDY MACLIB A (PERM
  31.              FORTVS TIDY (NOPRINT
  32.  
  33.          6.  Generate a module:
  34.  
  35.              LOAD TIDY (CLEAR
  36.              GENMOD TIDY MODULE A
  37.  
  38.          A sample EXEC is in the file TIDYEXEC.CMS
  39.  
  40.          A file suitable for use with the CMS HELP system is TIDYHELP.CMS
  41.          This can be renamed to TIDY HELPCMS  for use.
  42.  
  43.